package edu.zime.iot.dao;

import edu.zime.iot.entity.Course;
import edu.zime.iot.entity.User;
import org.apache.ibatis.annotations.*;

import java.util.List;
@Mapper
public class UserMapper
{
//    @Select("SELECT * FROM user")
//    public List<User> getAll();
//
//    @Insert("INSERT INTO user(lesson, teacher) VALUES(#{lesson}, #{teacher})")
//    public int addUser(User user);
//
//    @Update("UPDATE user SET lesson=#{lesson}, teacher=#{teacher} WHERE id= #{id}")
//    public int updateUser(User user);
//
//    @Delete("DELETE FROM User WHERE id= #{id}")
//    public int deleteUserById(int id);
//
//    @Select("SELECT * FROM user WHERE id= #{id}")
//    public User getUserById(int id);
}
